package pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zxs
 * *7 14:11
 */
@Data
@TableName("carousel")
public class Carousel implements Serializable {

    public static final Long serialVersionUID = 1L;
    
    @JsonProperty("carousel_id")
    @TableId(value = "carousel_id",type = IdType.AUTO)
    private  Integer carouselId;

    private  String imgPath;
    private String describes;

    @JsonProperty("product_id")
    private Integer productId;

    private Integer priority;
}
